package com.woniu.mealsService.data;

import io.swagger.models.auth.In;

import java.util.HashMap;
import java.util.Map;

/**
 * @author jiang
 */
public class OrderStatus {
    public static Map<Integer, String> statusMap = new HashMap<>();
    static {
        statusMap.put(0, "未支付");
        statusMap.put(1, "已支付");
        statusMap.put(2, "准备中");
        statusMap.put(3, "配送中");
        statusMap.put(4, "已送达");
        statusMap.put(5, "已取消");
        statusMap.put(6, "已退款");
        statusMap.put(7, "等待商家接单");
        statusMap.put(8, "订单完成");
        statusMap.put(9, "订单错误");
    }
    public static final Integer ORDER_NOPAY = 0;
    public static final Integer ORDER_PAID = 1;
    public static final Integer ORDER_PREPARATION = 2;
    public static final Integer ORDER_DELIVERY = 3;
    public static final Integer ORDER_DELIVERED = 4;
    public static final Integer ORDER_CANCEL = 5;
    public static final Integer ORDER_REFUNDED = 6;
    public static final Integer ORDER_STORETAKE = 7;
    public static final Integer ORDER_CLOSED = 8;
    public static final Integer ORDER_ERROR = 9;


}
